package kaizone.songmaya.smartns.comm.jpa;

import kaizone.songmaya.smartns.comm.model.Customer;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.transaction.annotation.Transactional;

@Transactional
public interface CustomerJpa extends JpaRepository<Customer, Long> {

    Customer findByUsername(String name);

    Customer findBySsoId(String ssoId);
}
